package com.djj.controller;

import com.alibaba.dubbo.config.annotation.Reference;
import com.djj.meber.MemberService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by DJJ on 2019/4/7.
 */
@RestController
public class OrderController {
    @Reference
    private MemberService memberService;

    @RequestMapping("/orderToMember")
    public String orderToMember() {
        return memberService.getUser();
    }
}
